e3a9b37e02d3a301ecbed8cfa265c720092d2dc5,src/main/java/com/hazelcast/hibernate/region/AbstractHazelcastRegion.java,AbstractHazelcastRegion,getSizeInMemory,#,94
Before Change
* @return a rough estimate of number of bytes used by this region.
*/
public long getSizeInMemory() {
long size = 0;
for (final Object key : getCache().keySet()) {
final MapEntry entry = getCache().getMapEntry(key);
if (entry != null) {
size += ((DataRecordEntry)entry).getCost();
}
}
return size;
}
public final int getTimeout() {
After Change
* @return a rough estimate of number of bytes used by this region.
*/
public long getSizeInMemory() {
return getCache().getSizeInMemory();
}
public final int getTimeout() {